package cn.bgs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 专题活动表
 * </p>
 *
 * @author Mr.Zhao
 * @since 2022-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ThematicActivities对象", description="专题活动表")
public class ThematicActivities implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "编号")
    private String themActNumber;

    @ApiModelProperty(value = "专题活动")
    private String themActivities;

    @ApiModelProperty(value = "标题")
    private String themActTitle;

    @ApiModelProperty(value = "负责人")
    private String themActPrincipal;

    @ApiModelProperty(value = "发布来源")
    private String themActFrom;

    @ApiModelProperty(value = "概述")
    private String themActInfo;

    @ApiModelProperty(value = "时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    private LocalDateTime themActTime;

    @ApiModelProperty(value = "状态")
    private String themActState;

    @ApiModelProperty(value = "图片")
    private String themActPhoto;

    @ApiModelProperty(value = "删除标志(1删除 0未删)")
    private Integer deleteFlag;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    private LocalDateTime createTime;


}
